﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;
namespace map.member.money
{
    public partial class chongzhi : System.Web.UI.Page
    {
        
        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxFunction));
            
        }

        //protected void Button1_Click(object sender, EventArgs e)
        //{
        //    double amount = zfunction.str2double(TextBox1.Text);
        //    if (amount <=0)
        //    {
        //        MessageBox.Show(this.Page, "请输入正确的充值金额.");
        //        return;
        //    }
        //    cbmoneytrans mt = cbmoneytrans.Find("1=2");
        //    mt.cbuserid.Value = AliApi.appUserId;
        //    mt.cbmoney.Value = amount;
        //    mt.cbmoneytrantype.Value = "测试充值";
        //    mt.jccreatedate.Value = DateTime.Now;
        //    mt.jccreatetime.StringValue = DateTime.Now.ToLongTimeString();
        //    //mt.jcdesc.Value = ui.RECID.ToString() + " " + ui.taobaoname.ToString();
        //    mt.NoYes_dongjie.Value = RuleCode.Enum.NoYes.No;
        //    mt.Insert();
        //    cbuser u = cbuser.u();
        //    u.cbmoney.Value += amount;
        //    u.cbmoneyZ.Value += amount;
        //    u.Modify();
        //    MessageBox.Show(this.Page, "操作已成功,充值金额为:"+amount.ToString());
        //}
    }
}
